package demo06_Builder.model;

/**
 * 简单模式
 */
public class SimpleModePlayerBuilder extends PlayBuilder {

    private String pre = "简单模式";

    @Override
    public void bulidList() {
        this.player.setBar(pre + "列表");
    }

    @Override
    public void buildBar() {
        player.setBar(pre + "控制条");
    }

    @Override
    public void bulidWindow() {
        player.setWindow(pre + "窗口");
    }

    @Override
    public void bulidMenu() {
        player.setMenu(pre + "菜单");
    }

    @Override
    public void buildCollection() {
        player.setCollection(pre + "收藏");
    }


    @Override
    public boolean hasBar() {
        return true;
    }

    @Override
    public boolean hasWindow() {
        return true;
    }
}

